//
//  ListMaintenanceAttachmentViewController.h
//  FMS
//
//  Created by Steven on 11/14/13.
//  Copyright (c) 2013 QGSVN. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CustomImageCell : UIButton {
    BOOL isSelect;
}

@property (strong,nonatomic) NSMutableDictionary *detailDict;

@end

@interface ListMaintenanceAttachmentViewController : UIViewController <UICollectionViewDataSource, UICollectionViewDelegateFlowLayout> {
    NSMutableArray *mainArray;
    BOOL isEditable;
    NSDictionary *dictLanguage;
    NSMutableIndexSet *itemIndexSet;
    
}

@property (unsafe_unretained) id parent;
@property (strong, nonatomic) IBOutlet UICollectionView *collectionView;
@property (assign) int maintenanceTypeId;
@property (strong,nonatomic) NSString *maintenanceId;
@property (strong,nonatomic) IBOutlet UIButton *btnDelete;
@property (strong,nonatomic) IBOutlet UIButton *btnSelect;
@property (strong,nonatomic) IBOutlet UILabel *lbTitle;
@property (strong,nonatomic) NSMutableDictionary *permissionDict;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil parent:(id)_parent;
- (IBAction)handleDelete:(id)sender;
- (IBAction)handleSelect:(id)sender;

@end
